package com.cykj.pos.mapper;

import com.cykj.pos.domain.BizCashoutFee;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * 提现费用管理Mapper接口
 *
 * @author weijianbo
 * @date 2021-03-16
 */
public interface BizCashoutFeeMapper extends BaseMapper<BizCashoutFee> {

    @Select("SELECT rate,rate reward_rate,service_charge FROM `sys_user` where user_id=#{userId}")
    BizCashoutFee getCashoutFee(Long userId);
}
